<?php

namespace App\Models;

class SysRole extends ApiBaseModel
{
    protected $table = 'sys_role';
    protected $fillable = [
        'role_name',
        'role_key',
        'role_sort',
        'data_scope',
        'menu_check_strictly',
        'dept_check_strictly',
        'status',
        'del_flag',
        'create_by',
        'update_by',
        'remark',
        'created_at',
        'updated_at',
    ];
    protected $casts = [
        'status' => 'string',
        'menu_check_strictly' => 'boolean',
        'dept_check_strictly' => 'boolean',

    ];

}
